﻿<%@ Page Title="" Language="C#" MasterPageFile="~/template/Justin/Master/Site.Master"
    AutoEventWireup="true" CodeBehind="Partners.aspx.cs" Inherits="LinkCard.CustomerView.Partners" %>

<%@ Register TagName="RandomDeals" TagPrefix="uc" Src="~/Controls/Random5Deals.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ctph" runat="server">
    <ul class="sub-menu">
        <li><a href="/Default.aspx">Trang chủ &gt;</a></li>
        <li><span  class="navigationbar">Đối tác</span></li>
    </ul>
    <%--<div class="partner-top">--%>
    <div>
        <%--<uc:RandomDeals ID="boxRandomDeals" runat="server" />
            
        --%>
        <img src="http://linkcard.vn/tempImg/banner doi tac 2.jpg" width="765px" border="0" />
    </div>
    <div class="partner-logo">
        <table>
        <asp:Repeater ID="rptSupplierCategory" runat="server" OnItemDataBound="rptSupplierCategory_ItemDataBound" >
            <ItemTemplate>
                <tr>
                    <td<%--class="supplierCategory"--%> style="padding-top:35px;">
                 <%--<label> <%# DataBinder.Eval(Container.DataItem, "SupplierCateName")%></label>--%> 
                    <img src='<%# _Instance["SupplierUploadPath"] + Eval("SupplierCateImg") %>' alt='<%#Eval("SupplierCateName") %>' />
                    </td>
                    </tr>
                <tr>
                    <td>
                        <asp:Repeater ID="rptSupplier" runat="server">
                <HeaderTemplate>
                    <ul>
                </HeaderTemplate>
                <ItemTemplate>
                    <li>
                        <a href='/doi-tac-<%#Eval("ID") %>/m-2/<%#LinkCard.Utils.Utilities.ConvertTextToUrl(Eval("Name").ToString()) %>.html' rel='<%#Eval("ID") %>'>
                            <img src='<%# _Instance["SupplierUploadPath"] + Eval("Banner_Uudaidacbiet") %>' alt='<%#Eval("LastDeal_Name") %>' />
                        </a>
                        <%--           <div class="divFloat" id='div<%#Eval("ID") %>'>
                            <div class="arrow">
                            </div>
                            <div class="divFloat-left">
                                <h2>
                                    <a href='<%#LinkCard.Utils.Utilities.GetProductDetailUrl(Eval("LastDeal_ID"),Eval("LastDeal_Name")) %>'>
                                        <%#Eval("LastDeal_Name") %></a></h2>
                                <p><%#GetSubString(Eval("LastDeal_Description"), 100)%></p>
                            </div>
                            <div class="divFloat-right">
                                <a href='<%#LinkCard.Utils.Utilities.GetProductDetailUrl(Eval("LastDeal_ID"),Eval("LastDeal_Name")) %>'>
                                    <img src='<%#Eval("LastDeal_Img1") %>' width='90' height='63' alt='' />
                                </a><a href='<%#LinkCard.Utils.Utilities.GetProductDetailUrl(Eval("LastDeal_ID"),Eval("LastDeal_Name")) %>'>
                                    <img src='<%#Eval("LastDeal_Img2") %>' width='90' height='63' alt='' />
                                </a><a href='<%#LinkCard.Utils.Utilities.GetProductDetailUrl(Eval("LastDeal_ID"),Eval("LastDeal_Name")) %>'>
                                    <img src='<%#Eval("LastDeal_Img3") %>' width='90' height='63' alt='' />
                                </a>
                            </div>
                        </div>--%>
                    </li>
                </ItemTemplate>
                <FooterTemplate>
                    </u>
                </FooterTemplate>
            </asp:Repeater>
                    </td>
                </tr>
            
            </ItemTemplate>
               
        </asp:Repeater>
             </table>
        <asp:Literal ID="ltrPaging" runat="server"></asp:Literal>
        <!--div class="paging">
            <span id="ctl00_ctph_dtPgArticle">
                <a href="?Page=1">1</a>&nbsp;<span>2</span>&nbsp;
                <a href="?Page=3">3</a>&nbsp;
                <a href="?Page=4">4</a>&nbsp;
                <a href="?Page=5">5</a>&nbsp;&nbsp;
                <a href="?Page=6">...</a>&nbsp;</span>
        </div-->
    </div>
    <script language="javascript" type="text/javascript">
        $(document).ready(function () {
            //Upload Active Onmouseover & Onmouseout
            //$(".partner-logo ul li a").mouseover(function () {
            //    var divId = $(this).attr("rel");

            //    if ($("#div" + divId))
            //        $("#div" + divId).show();

            //}).mouseout(function () {
            //    var divId = $(this).attr("rel");
            //    if ($("#div" + divId))
            //        $("#div" + divId).hide();
            //});

            //$(".divFloat").mouseover(function () {
            //    $(this).show();
            //}).mouseout(function () {
            //    $(this).hide();
            //});


            $('#slider2').anythingSlider({
                width: 929,       // if resizeContent is false, this is the default width if panel size is not defined
                height: 274,       // if resizeContent is false, this is the default height if panel size is not defined
                resizeContents: false,     // If true, solitary images/objects in the panel will expand to fit the viewport
                pauseOnHover: true,
                delay: 3000,
                startStopped: false,
                autoPlay: true     // This turns off the entire slideshow FUNCTIONALY, not just if it starts running or not
                //navigationFormatter: formatText // Format navigation labels with text
            });
            $('.anythingSlider span.arrow').hide();
            $(".thumbNav li a").html("");
        });
    </script>
</asp:Content>
